﻿<UserControl x:Class="EyeOpen.TimeAssistant.UI.Silverlight.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    xmlns:Silverlight="clr-namespace:EyeOpen.UI.Silverlight;assembly=EyeOpen.UI.Silverlight">
    <UserControl.Resources>
        <Silverlight:BoolToContentConverter x:Key="boolToContentConverter" />
    </UserControl.Resources>
    <Grid
        DataContext="{Binding Path=UserViewModel, Source={StaticResource viewModelLocator}}">
        <Button
            Height="30"
            Width="100"
            Command="{Binding Path= LoginCommand}"
            Content="{Binding IsLoggedIn, Converter={StaticResource boolToContentConverter}}"
        />
    </Grid>
</UserControl>
